package com.bootdo.program.wallpaper.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.wallpaper.dao.UserClassifyDao;
import com.bootdo.program.wallpaper.domain.UserClassifyDO;
import com.bootdo.program.wallpaper.service.UserClassifyService;



@Service
public class UserClassifyService  {
	@Autowired
	private UserClassifyDao userClassifyDao;
	
	
	public UserClassifyDO get(Long id){
		return userClassifyDao.get(id);
	}
	
	
	public List<UserClassifyDO> list(Map<String, Object> map){
		return userClassifyDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return userClassifyDao.count(map);
	}
	
	
	public int save(UserClassifyDO userClassify){
		return userClassifyDao.save(userClassify);
	}
	
	
	public int update(UserClassifyDO userClassify){
		return userClassifyDao.update(userClassify);
	}
	
	
	public int remove(Long id){
		return userClassifyDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return userClassifyDao.batchRemove(ids);
	}
	
}
